package com.ruoyi.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应用管理对象 app
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
public class App extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String type;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 是否在首页展示 */
    @Excel(name = "是否在首页展示")
    private String isFirst;

    /** 是否在更多显示 */
    @Excel(name = "是否在更多显示")
    private String isMore;

    /** 顺序 0为置顶 */
    @Excel(name = "顺序 0为置顶")
    private Long top;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setIsFirst(String isFirst) 
    {
        this.isFirst = isFirst;
    }

    public String getIsFirst() 
    {
        return isFirst;
    }
    public void setIsMore(String isMore) 
    {
        this.isMore = isMore;
    }

    public String getIsMore() 
    {
        return isMore;
    }
    public void setTop(Long top) 
    {
        this.top = top;
    }

    public Long getTop() 
    {
        return top;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("icon", getIcon())
            .append("isFirst", getIsFirst())
            .append("isMore", getIsMore())
            .append("top", getTop())
            .toString();
    }
}
